/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ar.com.tracking.navegacion_core.model;

import java.util.ArrayList;

/**
 *
 * @author cacha
 */

public class DeliveryMan {
    
    private String nickName;
    private Listener listener;
    private Position position;
    private ArrayList<Business> businessArrayList;
    private ArrayList<Delivery> deliveryArrayList;

    /**
     * @return the nickName
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * @param nickName the nickName to set
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * @return the listener
     */
    public Listener getListener() {
        return listener;
    }

    /**
     * @param listener the listener to set
     */
    public void setListener(Listener listener) {
        this.listener = listener;
    }

    /**
     * @return the position
     */
    public Position getPosition() {
        return position;
    }

    /**
     * @param position the position to set
     */
    public void setPosition(Position position) {
        this.position = position;
    }

    /**
     * @return the deliveryArrayList
     */
    public ArrayList<Delivery> getDeliveryArrayList() {
        return deliveryArrayList;
    }

    /**
     * @param deliveryArrayList the deliveryArrayList to set
     */
    public void setDeliveryArrayList(ArrayList<Delivery> deliveryArrayList) {
        this.deliveryArrayList = deliveryArrayList;
    }

    /**
     * @return the businessArrayList
     */
    public ArrayList<Business> getBusinessArrayList() {
        return businessArrayList;
    }

    /**
     * @param businessArrayList the businessArrayList to set
     */
    public void setBusinessArrayList(ArrayList<Business> businessArrayList) {
        this.businessArrayList = businessArrayList;
    }
    
    /*
    FALTAN IMPLEMENTAR! 
     */
    public Business getBusiness(String name){
        return ;
    };
    
    public void addBusiness(Business business){
        this.getBusinessArrayList().add(business);
    };
    
    public Boolean removeBusiness(String name){
        Boolean businessFound = false;
    
        return businessFound;
    };        
    
}
